package com.fangshi.api

import com.google.gson.annotations.SerializedName

data class GaragesResponse(
    @field:SerializedName("data")
    val data: AreasWrapper
) : Response()

data class AreasWrapper(
    @field:SerializedName("areas")
    val areas: List<Area>
)

data class Garage(
    @field:SerializedName("roomCode") val id: String,
    @field:SerializedName("roomName") val name: String,
    @field:SerializedName("carCount") val carCount: Int,
)

data class Area(
    @field:SerializedName("name")
    val areaName: String,
    @field:SerializedName("room")
    val garages: List<Garage>,
)